package com.datseek.iot.rule.manager.entity;

import com.dataseek.iot.mysql.entity.ActivityRule;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * @author cc
 * @Title: 规则的数据结构
 * @Description: 规则的数据结构
 * @date 2021/9/172:50 下午
 * @since 1.0
 */
@Getter
@Setter
public class RuleDTO {
    private ActivityRule rule;
    private Date beginTime;
    private Date endTime;
    private List<Integer> joinChannel;

    @Override
    public String toString() {
        return "RuleDTO{" +
                "rule=" + rule +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", joinChannel=" + joinChannel +
                '}';
    }
}
